transformation of random variable